package cn.dw.service.impl;

import cn.dw.dao.CheckInfoDao;
import cn.dw.domain.CheckInfo;
import cn.dw.service.CheckInfoService;

import java.util.List;

public class CheckInfoServiceImpl
  implements CheckInfoService
{
  private CheckInfoDao cid;
  
  public List<CheckInfo> getAll()
  {
    return this.cid.getAll();
  }
  
  public void setCid(CheckInfoDao cid)
  {
    this.cid = cid;
  }
  
  public void save(CheckInfo cInfo)
  {
    this.cid.save(cInfo);
  }
  
  public CheckInfo getById(Integer checkInfoId)
  {
    return (CheckInfo)this.cid.getById(checkInfoId);
  }
  
  public void updata(CheckInfo checkInfo)
  {
    this.cid.update(checkInfo);
  }
}
